package com.hjm.project.agentPosOperation.domain;

import java.util.Date;
import com.hjm.framework.aspectj.lang.annotation.Excel;
import com.hjm.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 机具采购、退款对象 agent_pos_operation
 * 
 * @author maker-platform
 * @date 2021-04-07
 */
public class AgentPosOperation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Integer id;

    /** 流水号 */
    @Excel(name = "流水号")
    private String serial;

    /** 代理商编号（V9-营销总监） */
    @Excel(name = "代理商编号", readConverterExp = "V=9-营销总监")
    private String agentNum;
    private String agentName;

    /** 单终端价格 */
    @Excel(name = "单终端价格")
    private String oneMoney;

    /** 终端总价格 */
    @Excel(name = "终端总价格")
    private String allMoney;

    /** 终端数量 */
    @Excel(name = "终端数量")
    private String num;

    /** 打款类型 1 4元 2  8元 */
    @Excel(name = "打款类型")
    private String rewardType;

    /** 申请类型0 采购 1退款 */
    @Excel(name = "申请类型0 采购 1退款")
    private String type;
    /** 团类型 1老团 2新团 */
    @Excel(name = "申请类型0 采购 1退款")
    private String teamType;

    /** 审核状态 0 待审核 1审核通过 2审核拒绝 3作废 */
    @Excel(name = "审核状态 0 待审核 1审核通过 2审核拒绝 3作废")
    private String applyStatus;

    /** 接口返回状态 0成功 1失败 2暂无 */
    @Excel(name = "接口返回状态 0成功 1失败 2暂无")
    private String interfaceStatus;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String imageUrl;

    /** 添加人 */
    @Excel(name = "添加人")
    private String addMan;

    /** 添加日期 */
    @Excel(name = "添加日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addDate;

    /** 审核人 */
    @Excel(name = "审核人")
    private String examineMan;

    /** 审核时间 */
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date examineDate;

    /** 是否返现0 采购-是 退款-需要扣款 1采购-否 退款-不需要 */
    @Excel(name = "是否返现0 采购-是 退款-需要扣款 1采购-否 退款-不需要")
    private String isCashback;

    /** 返现金额 */
    @Excel(name = "返现金额")
    private String cashbackMoney;

    /** 终端类型（0：传统终端  1：MPOS  4：电签终端） */
    @Excel(name = "终端类型", readConverterExp = "0=：传统终端,1=：MPOS,4=：电签终端")
    private Integer posType;

    /** 营销返现奖励(返现对象)（8元的）（目标服务商） */
    @Excel(name = "营销返现奖励(返现对象)", readConverterExp = "8=元的")
    private String returnAgent;

    /** 营销返现奖励(返现金额) 元 */
    @Excel(name = "营销返现奖励(返现金额) 元")
    private String returnMoney;

    /** 团长返现奖励(返现对象)（4元的） */
    @Excel(name = "团长返现奖励(返现对象)", readConverterExp = "4=元的")
    private String returnAgentT;

    /** 团长返现奖励(返现金额)元 */
    @Excel(name = "团长返现奖励(返现金额)元")
    private String returnMoneyT;

    /** 打款方式 1、现金 2、pos 3、网银 */
    @Excel(name = "打款方式 1、现金 2、pos 3、网银")
    private String dkWay;

    /** 打款时间 */
    @Excel(name = "打款时间")
    private String dkDate;

    /** 打款人 */
    @Excel(name = "打款人")
    private String dkMan;


    private String dkStart;
    private String dkEnd;
    private String addStart;
    private String addEnd;
    private String auditStart;
    private String auditEnd;

    private String topAgentNum;      // 购机展业端管理编号
    private String topAgentName;     //购机展业端管理名称
    private String returnAgentName;  //目标服务商名称
    private String note;              //备注
    private String endDate;         //到期时间


    public String getRewardType() {
        return rewardType;
    }

    public void setRewardType(String rewardType) {
        this.rewardType = rewardType;
    }

    @Override
    public String getEndDate() {
        return endDate;
    }

    @Override
    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getTeamType() {
        return teamType;
    }

    public void setTeamType(String teamType) {
        this.teamType = teamType;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getReturnAgentName() {
        return returnAgentName;
    }

    public void setReturnAgentName(String returnAgentName) {
        this.returnAgentName = returnAgentName;
    }

    public String getAgentName() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName;
    }

    public String getTopAgentNum() {
        return topAgentNum;
    }

    public void setTopAgentNum(String topAgentNum) {
        this.topAgentNum = topAgentNum;
    }

    public String getTopAgentName() {
        return topAgentName;
    }

    public void setTopAgentName(String topAgentName) {
        this.topAgentName = topAgentName;
    }

    public String getDkStart() {
        return dkStart;
    }

    public void setDkStart(String dkStart) {
        this.dkStart = dkStart;
    }

    public String getDkEnd() {
        return dkEnd;
    }

    public void setDkEnd(String dkEnd) {
        this.dkEnd = dkEnd;
    }

    public String getAddStart() {
        return addStart;
    }

    public void setAddStart(String addStart) {
        this.addStart = addStart;
    }

    public String getAddEnd() {
        return addEnd;
    }

    public void setAddEnd(String addEnd) {
        this.addEnd = addEnd;
    }

    public String getAuditStart() {
        return auditStart;
    }

    public void setAuditStart(String auditStart) {
        this.auditStart = auditStart;
    }

    public String getAuditEnd() {
        return auditEnd;
    }

    public void setAuditEnd(String auditEnd) {
        this.auditEnd = auditEnd;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setSerial(String serial)
    {
        this.serial = serial;
    }

    public String getSerial()
    {
        return serial;
    }
    public void setAgentNum(String agentNum)
    {
        this.agentNum = agentNum;
    }

    public String getAgentNum()
    {
        return agentNum;
    }
    public void setOneMoney(String oneMoney)
    {
        this.oneMoney = oneMoney;
    }

    public String getOneMoney()
    {
        return oneMoney;
    }
    public void setAllMoney(String allMoney)
    {
        this.allMoney = allMoney;
    }

    public String getAllMoney()
    {
        return allMoney;
    }
    public void setNum(String num)
    {
        this.num = num;
    }

    public String getNum()
    {
        return num;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setApplyStatus(String applyStatus)
    {
        this.applyStatus = applyStatus;
    }

    public String getApplyStatus()
    {
        return applyStatus;
    }
    public void setInterfaceStatus(String interfaceStatus)
    {
        this.interfaceStatus = interfaceStatus;
    }

    public String getInterfaceStatus()
    {
        return interfaceStatus;
    }
    public void setImageUrl(String imageUrl)
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl()
    {
        return imageUrl;
    }
    public void setAddMan(String addMan)
    {
        this.addMan = addMan;
    }

    public String getAddMan()
    {
        return addMan;
    }
    public void setAddDate(Date addDate)
    {
        this.addDate = addDate;
    }

    public Date getAddDate()
    {
        return addDate;
    }
    public void setExamineMan(String examineMan)
    {
        this.examineMan = examineMan;
    }

    public String getExamineMan()
    {
        return examineMan;
    }
    public void setExamineDate(Date examineDate)
    {
        this.examineDate = examineDate;
    }

    public Date getExamineDate()
    {
        return examineDate;
    }
    public void setIsCashback(String isCashback)
    {
        this.isCashback = isCashback;
    }

    public String getIsCashback()
    {
        return isCashback;
    }
    public void setCashbackMoney(String cashbackMoney)
    {
        this.cashbackMoney = cashbackMoney;
    }

    public String getCashbackMoney()
    {
        return cashbackMoney;
    }
    public void setPosType(Integer posType)
    {
        this.posType = posType;
    }

    public Integer getPosType()
    {
        return posType;
    }
    public void setReturnAgent(String returnAgent)
    {
        this.returnAgent = returnAgent;
    }

    public String getReturnAgent()
    {
        return returnAgent;
    }
    public void setReturnMoney(String returnMoney)
    {
        this.returnMoney = returnMoney;
    }

    public String getReturnMoney()
    {
        return returnMoney;
    }
    public void setReturnAgentT(String returnAgentT)
    {
        this.returnAgentT = returnAgentT;
    }

    public String getReturnAgentT()
    {
        return returnAgentT;
    }
    public void setReturnMoneyT(String returnMoneyT)
    {
        this.returnMoneyT = returnMoneyT;
    }

    public String getReturnMoneyT()
    {
        return returnMoneyT;
    }
    public void setDkWay(String dkWay)
    {
        this.dkWay = dkWay;
    }

    public String getDkWay()
    {
        return dkWay;
    }
    public void setDkDate(String dkDate)
    {
        this.dkDate = dkDate;
    }

    public String getDkDate()
    {
        return dkDate;
    }
    public void setDkMan(String dkMan)
    {
        this.dkMan = dkMan;
    }

    public String getDkMan()
    {
        return dkMan;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serial", getSerial())
            .append("agentNum", getAgentNum())
            .append("oneMoney", getOneMoney())
            .append("allMoney", getAllMoney())
            .append("num", getNum())
            .append("type", getType())
            .append("applyStatus", getApplyStatus())
            .append("interfaceStatus", getInterfaceStatus())
            .append("imageUrl", getImageUrl())
            .append("addMan", getAddMan())
            .append("addDate", getAddDate())
            .append("examineMan", getExamineMan())
            .append("examineDate", getExamineDate())
            .append("isCashback", getIsCashback())
            .append("cashbackMoney", getCashbackMoney())
            .append("posType", getPosType())
            .append("returnAgent", getReturnAgent())
            .append("returnMoney", getReturnMoney())
            .append("returnAgentT", getReturnAgentT())
            .append("returnMoneyT", getReturnMoneyT())
            .append("dkWay", getDkWay())
            .append("dkDate", getDkDate())
            .append("dkMan", getDkMan())
            .toString();
    }
}
